OTP\Handler\Forms\NinjaFormAjaxForm A

Total Complexity 54
Dependencies 8
Dependents 0
Total lines 421
Lines of code 226
Logical lines of code 119
Comment lines 147
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
mo_handle_nj_ajax_form_submit()
S
55 6 20
handle_form_options()
S
54 6 19
routeData()
S
56 4 19
enqueue_nj_form_script()
S
52 3 23
parseFormDetails()
S
57 3 17
handle_form()
S
58 3 14
mo_send_nj_ajax_otp_to_email()
S
62 3 12
mo_send_nj_ajax_otp_to_phone()
S
61 3 12
checkIfOtpVerificationStarted()
S
62 3 11
__construct()
S
57 2 16
get_phone_number_selector()
S
70 3 6
processOTPEntered()
S
62 2 11
processPhone()
S
67 2 7
mo_send_otp_nj_ajax_verify()
S
68 2 8
processEmail()
S
67 2 7
setSessionAndStartOTPVerification()
S
66 2 8
getFieldId()
S
67 2 7
handle_failed_verification()
S
79 1 3
handle_post_verification()
S
79 1 3
unset_otp_session_variables()
S
80 1 3